package com.icow.wms.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.icow.common.annotation.Excel;
import com.icow.common.core.domain.BaseEntity;

/**
 * 物料需求对象 wms_mat_list
 * 
 * @author lqq
 * @date 2022-01-14
 */
public class WmsMatList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long id;

    /** 编号 */
    @Excel(name = "料号")
    private String sn;

    /** 序列号 */
    @Excel(name = "序列号")
    private String boxes;

    /** 状态（N待开始 U进行中 Y已完成） */
    @Excel(name = "状态", readConverterExp = "N=N,U=U,Y=Y")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setBoxes(String boxes) 
    {
        this.boxes = boxes;
    }

    public String getBoxes() 
    {
        return boxes;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sn", getSn())
            .append("boxes", getBoxes())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
